package com.leanin.form.mapper;

import com.leanin.form.model.LeaninEduFormDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LeaninEduFormDeptMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LeaninEduFormDept record);

    void insertList(@Param("records") List<LeaninEduFormDept> records);

    int insertSelective(LeaninEduFormDept record);

    LeaninEduFormDept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LeaninEduFormDept record);

    int updateByPrimaryKey(LeaninEduFormDept record);

    List<LeaninEduFormDept> findByFormId(@Param("formId") Long formId);

    void deleteByFormId(@Param("formId") Long formId);
}